import { reqUserRegister ,reqCode } from '@/api/login.js';

const state = {};

const actions = {
    async getCode({ commit }, phone) {
        let res = await reqCode(phone);
        console.log(res);
    },
    async getuserRegister({ commit }) {
        let res = await reqUserRegister();
    }
};

const mutations = {};

export default {
    state,
    actions,
    mutations
}